package com.sinosoft.jwjw.utils;

/**
 * ztree节点 vo对象，方便生成ztree的树
 * @author lxl
 *
 */
public class VoZtree {
	/**
	 * 节点id
	 */
	private String id;
	/**
	 * 节点父ID
	 */
	private String pId;
	/**
	 * 节点名称
	 */
	private String name;
	
	/**
	 * 代码类别
	 */
	private String codeType;
	
	/**
	 * 代码属性 0=代码类别 1==代码
	 */
	private String codeProperty;
	/**
	 * 节点图标样式
	 */
	private String icon;
	/**
	 * 代码
	 */
	private String code;
	/**
	 * 节点右键功能设置
	 */
	private boolean noR;
	/**
	 * 打开或者关闭
	 */
	private boolean open;
	/**
	 * 是否回显勾选
	 */
	private boolean checked;
	/**
	 * 复选框是否禁止勾选
	 */
	private boolean chkDisabled;
	
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getpId() {
		return pId;
	}
	public void setpId(String pId) {
		this.pId = pId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCodeType() {
		return codeType;
	}
	public void setCodeType(String codeType) {
		this.codeType = codeType;
	}
	public String getCodeProperty() {
		return codeProperty;
	}
	public void setCodeProperty(String codeProperty) {
		this.codeProperty = codeProperty;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public boolean isNoR() {
		return noR;
	}
	public void setNoR(boolean noR) {
		this.noR = noR;
	}
	
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	public boolean isChkDisabled() {
		return chkDisabled;
	}
	public void setChkDisabled(boolean chkDisabled) {
		this.chkDisabled = chkDisabled;
	}
	
}
